package com.woniuxy.microgoodsserver;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement
@MapperScan(basePackages = {"com.woniuxy.microgoodsserver.*mag.mapper"})
@EnableEurekaClient
@SpringBootApplication
public class MicroGoodsServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(MicroGoodsServerApplication.class, args);
    }

}